<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Payment extends Model
{
    protected $fillable = [
        'rentable_id', 'rentable_type', 'total', 'paid'
    ];
    public function rentable(){
        return $this->morphTo();
    }
}
